<?php

/*
 *
 * $Rev:: 48            $:  Revision of last commit
 * $Author:: guy        $:  Author of last commit
 * $Date:: 2010-04-19 1#$:  Date of last commit
 *
 */

if(stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")){
	header("Content-Type: application/xhtml+xml; charset=UTF-8");
	echo('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">');
} else {
	header("Content-Type: text/html; charset=UTF-8");
	echo ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">');
}
?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<title>TIS > <?php $_SERVER['REQUEST_URI']?></title>
	<link rel="stylesheet" type="text/css" href="http://www.phy.cam.ac.uk/style/camstyle.css" />
	<link rel="stylesheet" type="text/css" href="css/flick/jquery-ui.css" />
	<link rel="stylesheet" type="text/css" href="css/form.css" />
	
	
	<!--<script type="text/javascript" src="js/jquery.js"></script>-->
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
	<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>-->
	
	<script type="text/javascript" src="js/jquery-ui.js"></script>
	<script type="text/javascript" src="js/jquery.tablesorter.js"></script>
	
	<script type="text/javascript" src="js/default.js"></script>
	<?php
	if (strstr($_SERVER["REQUEST_URI"], "view.php")) {
		?>
		<link href="js/studentLists.php" type="application/json" rel="exhibit/data" />
		<script src="http://static.simile.mit.edu/exhibit/api-2.0/exhibit-api.js" type="text/javascript"></script>
		<?php 
	}
	?>
</head>
<body>
<div id="messages" class="messages">
<img src="css/smoothness/images/ui-icons_cd0a0a_256x240.png" style="display: none" />
<?php
include_once './inc/messages.inc.php';
?>
</div>